package warbots.entities.units;


import java.awt.Point;

import warbots.gameplay.Player;
import warbots.gameplay.exceptions.CreateUnitException;

/**
 * @author Ido Adler.
 */
public class Archer extends Unit
{
    
    /**
     * TODO: description
     * 
     * @param p
     * @param unit
     * @param actions
     * @throws CreateUnitException
     */
    public Archer(final Player p, final String unit, final int direction, final Point position,
        final String... actions) throws CreateUnitException
    {
        super(p, unit, 1, 1, 3, 10, direction, position, "SHOOT:3");
        addActions(actions);
    }
}
